package com.midian.service.activity;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.midian.common.exception.BizException;
import com.midian.common.pager.Pager;
import com.midian.model.activity.Activity;
import com.midian.model.activity.ActivityUser;
import com.midian.service.common.IBaseService;

/**
 * 活动用户（报名）业务
 * @author Mengfh
 *
 */
public interface IActivityUserService extends IBaseService<ActivityUser> {
    public ActivityUser getActivityUser(String activityId,String userId,Integer joinState);
    public List<Activity> getMyActivities(String user_id,String activity_filter,Pager pager);
    public void payCallback(HttpServletRequest request, HttpServletResponse response,Integer payType) throws BizException;
    public ActivityUser getByUserIdAndActivity(String userId,String activityId) throws BizException;
}
